const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,

  lintOnSave: false,
  devServer: {
    proxy: {
      '/zhou': {
        target: 'http://localhost:5000',
        pathRewrite: { '^/zhou': '' },
        changeOrigin: true
      },
      '/zhouzhou': {
        target: 'http://localhost:5001',
        pathRewrite: { '^/zhouzhou': '' }
      }
    }
  }
})
